package com.mysoft.gfyx.marketdevelop.remoteService;

import com.mysoft.framework.modeling.dto.OptionItem;
import com.mysoft.framework.rpc.annotation.PubAction;
import com.mysoft.framework.rpc.annotation.RemoteAction;
import com.mysoft.framework.rpc.annotation.RemoteService;
import com.mysoft.gfyx.marketdevelop.controller.dto.FollowClueResponseDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.AddClueRequestDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.CustomerDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.GetCustomerRequestDto;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.GetDeveloperDataDto;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Set;

@RemoteService(appCode = "4022", businessCode = "40220902", path = "/cluePub")
public interface RemoteClueService {

    @RemoteAction("/countClue")
    int countClue(GetDeveloperDataDto req);

    @RemoteAction(value = "/isAdded")
    Set<String> isAdded(List<String> req);

    @RemoteAction(value = "/followClue")
    FollowClueResponseDto followClue(AddClueRequestDto request);

    @RemoteAction(value = "/getProfitProvinceAndCity")
    List<OptionItem>  getProfitProvinceAndCity();
}
